<template>
    <div>
        <richText v-model:content="content" style="min-height: 800px; overflow-y: hidden;"></richText>
        <button @click="inval()">查看数据</button>
    </div>
</template>

<script setup>
import richText from "@/components/richText/richText.vue";
import { watch, ref } from "vue";
const content = ref('')
const inval = () => {
    console.log(content.value);
}
</script>

<style lang="scss" scoped></style>